<html>
<head>
<title>Step 6: Create a Dynamically Loadable Library</title>
</head>
<body>
<table width=100%>
<tr>
<td align=left>
<a href="step5.html"><img src=../../images/PreviousArrow.gif width=26 height=26 align=bottom border=0 alt="Previous | "></a><a
href="step7.html"><img src=../../images/NextArrow.gif width=26 height=26 align=bottom border=0 alt="Next | "></a><a
href="../../index.html"><img src=../../images/WayUpArrow.gif width=26 height=26 align=bottom border=0 alt="Trail Map | "></a><a
href="../index.html"><img src=../../images/nativeHeader.gif width=26 height=26 align=bottom border=0 alt="Integrating Native Methods into Java Programs | "></a>
<td>
<td align=right>
<a href="index.html"><strong><em>Step By Step</em></strong></a>
</td>
</tr>
</table>
<p>
<hr size=4>

<h2>
    Step 6: Create a Dynamically Loadable Library
</h2>
<p>
<blockquote>

Remember in <a href=step1.html>Step 1: Write the java Class</a> that you 
use this method call to load a dynamically loadable library named
<code>hello</code> into your program at runtime.
<blockquote>
<pre>
System.loadLibrary("hello");
</pre>
</blockquote>
<p>
Now you are ready to create the dynamically loadable library.
Use the C compiler to <a href=_dynalib.html>compile the C source code</a> created in the
previous steps, <code>HelloWorld.c</code> and <code>HelloWorldImp.c</code>,
into a dynamically loadable library named <code>hello</code>.

<h4>See Also</h4>
<blockquote>
For more information about the C compiler, refer to its manpage.
</blockquote>

</blockquote>
<p>
<hr size=4>
<p>
<table width=100%>
<tr>
<td align=left>
<a href="step5.html"><img src=../../images/PreviousArrow.gif width=26 height=26 align=top border=0 alt="Previous | "></a><a
href="step7.html"><img src=../../images/NextArrow.gif width=26 height=26 align=top border=0 alt="Next | "></a><a
href="../../index.html"><img src=../../images/WayUpArrow.gif width=26 height=26 align=top border=0 alt="Trail Map | "></a><a
href="../index.html"><img src=../../images/nativeHeader.gif width=26 height=26 align=top border=0 alt="Integrating Native Methods into Java Programs | "></a>
<td>
<td align=right>
<a href="index.html"><strong><em>Step By Step</em></strong></a>
</td>
</tr>
</table>
</body>
</html>
